package com.kuang.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 狂神说
 * @since 2022-09-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Phone对象", description="")
public class Phone implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    @ApiModelProperty(value = "手机品牌")
    private String pname;

    @ApiModelProperty(value = "手机分类")
    private Integer ptype;

    @ApiModelProperty(value = "手机价格")
    private Double pproce;

    @ApiModelProperty(value = "手机颜色")
    private Integer pcolor;

    @ApiModelProperty(value = "手机生产时间")
    private Date pdate;


}
